<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>


<form action="<?php echo url_for('artikel/'.($form->getObject()->isNew() ? 'create' : 'update').(!$form->getObject()->isNew() ? '?id='.$form->getObject()->getId() : '')) ?>" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
<?php if (!$form->getObject()->isNew()): ?>
<input type="hidden" name="sf_method" value="put" />
<?php endif; ?>
    <?php echo $form->renderGlobalErrors() ?>
    <p class="form">Judul :
        <?php echo $form['judul']->renderError() ?>
        <?php echo $form['judul'] ?>
    </p>
    <p class="form">
        <?php echo $form['isi']->renderError() ?>
        <?php echo $form['isi'] ?>
    </p>
    <p class="form">
        <?php echo $form['id_bidang_studi']->renderError(); ?>
        <?php echo $form['id_bidang_studi']; ?>
    </p>
    <?php echo $form->renderHiddenFields(false); ?>
    <input type="submit" value="Save" />
</form>
